package com.yjd.comm.system.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.system.model.DemoModel;

/**
 * <b>description</b>：TODO <br>
 * <b>time</b>：2014-11-4上午9:30:07 <br>
 * <b>author</b>： ready likun_557@163.com
 */
public interface IDemoService extends IBaseService {

	/**
	 * 新增
	 * 
	 * @param model
	 * @return
	 */
	public DemoModel insert(DemoModel model) throws Exception;

	/**
	 * 修改
	 * 
	 * @param model
	 * @return
	 */
	public int update(DemoModel model) throws Exception;

	/**
	 * 删除
	 * 
	 * @param id
	 * @return
	 */
	public int delete(Long id) throws Exception;

}
